package cn.damai.search.mapper;

import cn.damai.model.KeywordSort;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface KeywordSortMapper {

	KeywordSort getKeywordSortById(@Param(value = "id") Long id);

	List<KeywordSort> getKeywordSortListByMap(Map<String, Object> param);

	Integer getKeywordSortCountByMap(Map<String, Object> param);

	Integer insertKeywordSort(KeywordSort KeywordSort);

	Integer updateKeywordSort(KeywordSort KeywordSort);

// Integer deleteKeywordSortById(@Param(value = "id") Long id);
//
// Integer batchDeleteKeywordSort(Map<String,List<String>> params);

}
